package cn.thrjit.service;

import cn.thrjit.dto.AdminLoginDto;
import cn.thrjit.pojo.domain.Login;
import cn.thrjit.pojo.param.RegisterSaveLoginParam;
import cn.thrjit.vo.LoginVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 登录表 服务类
 * </p>
 *
 * @author xxx
 * @since 2024-08-02
 */
public interface ILoginService extends IService<Login> {

    @Transactional
    LoginVO wxLogin(String code, Integer type);

    void saveLogin(RegisterSaveLoginParam registerSaveLoginParam);

    LoginVO adminLogin(AdminLoginDto adminLoginDto);

    void logout();
}

